package top.gcl.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.gcl.entities.Notice;

//推荐使用@Mapper，不推荐@Repository
@Mapper
//@Repository
public interface NoticeDao {
    public void create(Notice nl);
    public Notice getNoticeById(@Param("id") String id);
}
